class Record:
    def __init__(self, data):
        for key, value in data.items():
            setattr(self,key,value)
        # for key, value in dict.items():
        #     setattr(set, key, value)
